//
//  SystemNotiCell.m
//  coba-iOS
//
//  Created by 郭四虎 on 15/12/7.
//  Copyright © 2015年 YouKu. All rights reserved.
//

#import "SystemNotiCell.h"

@implementation SystemNotiCell

- (void)awakeFromNib {
    // Initialization code
    [super awakeFromNib];
}

- (void)showModel:(SystemNotiModel *)model
{
    if (!model.isViewed) {
        self.isNewNoti.hidden = NO;
    }else{
        self.isNewNoti.hidden = YES;
    }
    self.nameLb.text = model.from_user_name;
    self.dateLb.text = [MyDateformater formater:model.from_reply_date];
    self.contentLb.text = model.content;
    self.from_contentLb.text = model.from_content;
    
//    NSString *url = [NSString stringWithFormat:@"%@?url=%@",GETICON,model.photo];
//    [self.iconIma sd_setImageWithURL:[NSURL URLWithString:url]];
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
